Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Error: Inconsistent dependency lock file error in test #11314

Merged
merged 1 commit into from
Aug 1, 2024

Conversation

SarahFrench
Copy link
Collaborator

@SarahFrench SarahFrench commented Jul 31, 2024

This test has 100% failure rate in TPGB nightlies

------- Stdout: -------
=== RUN   TestAccProjectService_checkUsageOfServices
=== PAUSE TestAccProjectService_checkUsageOfServices
=== CONT  TestAccProjectService_checkUsageOfServices
    vcr_utils.go:152: Step 1/3 error: Error running pre-apply refresh: exit status 1
        Error: Inconsistent dependency lock file
        The following dependency selections recorded in the lock file are
        inconsistent with the current configuration:
          - provider registry.terraform.io/hashicorp/google: required by this configuration but no version is selected
        To make the initial dependency selections that will initialize the dependency
        lock file, run:
          terraform init
--- FAIL: TestAccProjectService_checkUsageOfServices (0.26s)
FAIL

Release Note Template for Downstream PRs (will be copied)


@modular-magician
Copy link
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google-beta provider: Diff ( 1 file changed, 2 insertions(+))

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 142
Passed tests: 111
Skipped tests: 31
Affected tests: 0

Click here to see the affected service packages
  • resourcemanager

$\textcolor{green}{\textsf{All tests passed!}}$

View the build log

@SarahFrench
Copy link
Collaborator Author

SarahFrench commented Jul 31, 2024

The build on TeamCity shows that the test is now failing due to the failure that's been present in a wider set of tests for this service recently. That is, I've fixed the original problem and have unmasked an underlying problem

@SarahFrench
Copy link
Collaborator Author

SarahFrench commented Aug 1, 2024

I don't want to get into a rabbit hole of solving the error in #11314 (comment) and instead I have opened hashicorp/terraform-provider-google#18933

(I am already in a number of rabbit holes for fixing tests!)

Opening PR for review

@SarahFrench SarahFrench marked this pull request as ready for review August 1, 2024 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants